/*
 * Copyright (c) 2021. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
 * Morbi non lorem porttitor neque feugiat blandit. Ut vitae ipsum eget quam lacinia accumsan.
 * Etiam sed turpis ac ipsum condimentum fringilla. Maecenas magna.
 * Proin dapibus sapien vel ante. Aliquam erat volutpat. Pellentesque sagittis ligula eget metus.
 * Vestibulum commodo. Ut rhoncus gravida arcu.
 */

import java.util.Scanner;

/**
 * 2. 编写程序，读入三个数。按从大到小输出这三个数。
 */
public class HomeWork0312002 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入三个数: ");
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        if(a>b){
            if(b>c){
                System.out.format("%s> %s > %s",a,b,c);
            }else{
                if(a>c){
                    System.out.format("%s> %s > %s",a,c,b);
                }else{
                    System.out.format("%s> %s > %s",c,a,b);
                }
            }
        }else{
            //...
        }

    }
}
